#pragma once

class NetworkListener
{
public:
	virtual unsigned long connectionMade(void* client) = 0;
	virtual unsigned long connectionFailed(void* client) = 0;
	virtual unsigned long dataReceived(void* client, const char* data, unsigned long length) = 0;
	virtual bool connectionLost(void* client) = 0;
	virtual void connectionClosed(void* client) = 0;
	virtual unsigned long connectionRestored(void* client) = 0;
};
